	(function(window){
			var util={};
			util.tree={};
			util.tree.createOption=function(id,lv,text){
				return "   <option value='"+id+"' data-section='"+lv+"'>"+text+"</option>";
			};
			util.tree.createMenuTree=function(option,source,container,str){
				str+=option.name;
				var strElement=util.tree.createOption(option.id,str,option.name);
				$(container).append(strElement);
				str+="/";
				var scur=option.level*1+1;
				for(var i=0;i<source.length;i++){
					if(source[i].level==scur&&source[i].superId==option.id)
					  	util.tree.createMenuTree(source[i],source,container,str);
				}
			}
			util.tree.findStart=function(source){
				for(var i=0;i<source.length;i++){
					if(source[i].superId=="0"){
						return source[i];
					}
				}
			}

			util.tree.start=function(source,container){
				var option=util.tree.findStart(source)
				util.tree.createMenuTree(option,source,container,"");

			}


			window.util=util;
		})(window)

